package com.bosssoft.cloud.wechat.common.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.bosssoft.cloud.annotations.NotNull;
import lombok.Data;


/**
 * 查验票据Base Param类
 * <p>
 * 该三要素是查询票据必不可少的要素
 *
 * @author wcy create on 2021/5/17 15:47 下午
 */
@Data
public class CkBaseParam {
    /**
     * 票据代码
     */
    @NotNull
    @JSONField(name = "eInvoiceCode", alternateNames = "billCode")
    private String eInvoiceCode;
    /**
     * 票据号码
     */
    @NotNull
    @JSONField(name = "eInvoiceNumber", alternateNames = "billNumber")
    private String eInvoiceNumber;
    /**
     * 随机码
     */
    @NotNull
    @JSONField(name = "randomNumber")
    private String randomNumber;
}
